package com.wu.gumomallproduct.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.common.utils.PageUtils;
import com.wu.common.entity.product.AttrEntity;
import com.wu.common.vo.product.AttrEntityRespVo;
import com.wu.common.vo.product.AttrEntityVo;

import java.util.List;
import java.util.Map;

/**
 * ??Ʒ?
 *
 * @author wu
 * @email 2195361340@qq.com
 * @date 2022-12-12 17:36:43
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params, Long catelogId, String attrType);

    void saveAttrEntityVo(AttrEntityVo attrEntityVo);

    AttrEntityRespVo getAttrInfo(Long attrId);

    void updateAttr(AttrEntityVo attr);

    List<AttrEntity> getAttrList(Long attrgroupId);

    PageUtils getAttrNoList(Long attrgroupId, Map<String, Object> param);
}

